package com.shierke.Ume.ui.activity.register

import android.content.Context
import android.os.Bundle
import com.shierke.Ume.R
import com.shierke.Ume.base.BaseActivity
import com.shierke.Ume.util.click
import com.shierke.Ume.util.startActivity
import kotlinx.android.synthetic.main.activity_setting_head_sex.*

/**
 * Create by Ybx
 * on 2020-10-11
 * Desribe:
 */
class SettingHeadSexActivity : BaseActivity() {

    companion object {
        fun startActivity(context: Context) {
            context.startActivity<SettingHeadSexActivity>()
        }
    }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_setting_head_sex)

//        ImageUtils.addCircleBorder()


        contiune.click { SettingBirthdayActivity.startActivity(this) }


        womanLayout.isSelected = true

        womanLayout.click {
            womanLayout.isSelected = true
            manLayout.isSelected = false
        }

        manLayout.click {
            womanLayout.isSelected = false
            manLayout.isSelected = true
        }

        setHead.click { UploadHeadActivity.startActivity(this) }


    }
}